package com.linwen.excise.niuke._20;

import java.util.Scanner;

/**
 * @author wlw
 * @date 2023/3/2 11:32 PM
 */
public class _12字符串反转 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();
        char[] chars = str.toCharArray();
        for (int i = chars.length - 1; i >= 0; i--) {
            System.out.print(chars[i]);
        }
    }
}
